<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Search</title>
    </h:head>
    <h:body>
        <ui:composition template="/templates/template_admin.xhtml">
            <ui:define name="content">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" title="Applicant not found"/>
            </h:panelGroup>
                        <h:form>
                            <h:panelGrid columns="3">
                                <h:inputText value="#{hrmb.input}" />
                                <h:selectOneMenu id="input" value="#{hrmb.object}" >
                                    <f:selectItem itemLabel="Applicant" itemValue="a"/>
                                    <f:selectItem itemLabel="Vacancy" itemValue="vac"/>
                                </h:selectOneMenu>
                                <h:commandButton value="Search" action="#{hrmb.search}"/>
                            </h:panelGrid>
                        </h:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

